package com.hyh.admin.controller;


import com.hyh.ad.common.annotation.Log;
import com.hyh.ad.common.enums.BusinessStatus;
import com.hyh.ad.common.enums.BusinessType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/test")
@RestController
public class TestController {

        @GetMapping("/hello")
        @Log(businessName = BusinessType.OTHER, operationModule = "测试aop的日志操作")
        public String hello() {
            return "hello";
        }
}
